﻿@{
    ViewData["Title"] = "MaterialTable";
    Layout = "~/Views/Home/Main.cshtml";
}

    <form class="layui-form layui-row layui-col-space16" style="width:4000px">
        <h3>
            质检管理/原料质检
        </h3>
        <div class="layui-form">
            <div class="layui-form-item layui-inline">
                <label class="layui-form-label">原料编号</label>
                <div class="layui-input-inline">
                    <input type="text" id="MaterialNumber" name="MaterialNumber" placeholder="请输入原料编号" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-inline">
                <label class="layui-form-label">质检编号</label>
                <div class="layui-input-inline">
                    <input type="text" id="QualityNumber" name="QualityNumber" placeholder="请输入质检编号" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-inline">
                <label class="layui-form-label">状态</label>
                <div class="layui-input-block">
                    <select id="statusSelect" name="status" lay-verify="required">
                        <option value="">请选择状态</option>
                        <option value="合格">合格</option>
                        <option value="不合格">不合格</option>
                    </select>
                </div>
            </div>
            <div class="layui-form-item layui-inline">
                <div class="layui-input-block">
                    <button type="button" class="layui-btn layui-btn-normal" id="AddMaterial"><i class="layui-icon"></i> 添加</button>
                    <button type="button" class="layui-btn layui-btn-primary" id="uploadBtn">导入</button>
                    <input type="file" id="fileInput" style="display:none;" />
                    <button type="button" class="layui-btn layui-btn-primary" id="exportBtn">导出</button>
                    <button type="button" class="layui-btn layui-btn-primary" id="resetForm">重置</button>
                    <button type="button" class="layui-btn layui-btn-normal" id="searchMaterial">查询</button>
                </div>
            </div>
        </div>

    </form>
        <script src="~/js/Quality/MaterialTable.js"></script>
        <table class="layui-table" id="carriertable" style="width:500px"></table>
